#
# Makefile for Notes API sample program sendmemo
# Windows 32-bit version using Microsoft Visual C++ .NET compiler
# and linker.
#
# This makefile assumes that the INCLUDE and LIB environment variables
# are set up to point at the Notes and C "include" and "lib" directories.

# Standard Windows 32-bit make definitions
!include <ntwin32.mak>

# The name of the program.

PROGNAME = Notes

cpuflags = /Zp

# Dependencies
#test.exe: test.obj
#test.obj: test.c
$(PROGNAME).EXE: DBAccess.OBJ $(PROGNAME).OBJ
$(PROGNAME).OBJ: $(PROGNAME).CPP $(PROGNAME).H
DBAccess.OBJ: DBAccess.CPP DBAccess.H

# Compilation command.

.CPP.OBJ:
    $(cc) $(cdebug) $(cflags) $(cpuflags) /DNT $(cvars) $*.cpp

# Link command.

.OBJ.EXE:
    $(link) $(linkdebug) $(conflags) -out:NotesLib.dll /DLL $** $(conlibs) \
        notes.lib user32.lib
